<template>
    <div @click="ccc">
        
    </div>
</template>



<script>
import { mapState, mapMutations, mapGetters } from 'vuex'
export default {
    data() {
        return {
            val: 10
        }
    },
    computed: {
        ...mapState(['count']),

        // ...mapGetters({
        //     multipleCount: 'multipleCount'
        // }),

        multipleCount(){
            return this.$store.getters.multipleCount
        },
    },
    methods: {
        ...mapMutations(['jia', 'increment']),
        ccc() {
            this.$store.commit('increment', this.val)
        },
    },
    mounted() {
        
    }
}
</script>